implemented custom mainview button