Added action for GUI controls