Moved add post to a custom view.