Set proper navigations between activities