Created BaseActivity, moving menu handling into it from MainActivity.
Renamed MainActivity to ComposeActivity.
Made BaseActivity parent of ComposeActivity and TimelineActivity.
Adding Intent flags to prevent multiple instances of the activities.