Update UI buttons.