Set the hierarchical parent of the post activity to the main activity
and added up navigation