fixed some of the bug with the back hardware button