updateButtons method called from specific touch events.