Fixed landscape orientation bug by changing activities, added debug messages for each Lifecycle step