fixed bug for homefragment

app no longer crashes when click on home second time while on
homefragment