Refactor events registration for menu view
Refactor: change Friendofhavingappview to menuView
Refactor code, fix bug: login view and menu view load twice on iOS
reindent singlePlayer