app declaration separate from onDeviceReady assignment; splash screen spinner preference removed