src/: Add basic support for app switching