fixed issue with processing back/ home button