'Toggle starting or stopping the server.'

def server_button_clicked(self):

    if (self.status == self.STATUS_STOPPED):
        self.start_server()
    elif (self.status == self.STATUS_STARTED):
        self.stop_server()
