fixed bug and changed style to NoActionBar