Implement and improve navigation menu using hardware buttons