Swich tabs and show post list when publishing a new post.

Fixes #823 

Also groups the tab related methods in the app delegate.