Adding background modes for the app