Appbar at mainpage fix