Adding control buttons