Updated how to deal with posts in MainMenu and DatabaseHelper classes
second attempt