On adding a post, switches to posts view and refreshes.