fix problemas and button for request permission added