UI update for buttons and added actions for buttons