build: fix unnecessary theme switch on app startup