Move theme loading to initial app call