Added ApplicationActivity and DispatchActivity. Also disabled the back button in MainActivity and set the screen orientations to portrait.