Added conditional compilation to disable push notifications when running Simulator