Move last action method to UpdateUI