Added GUI functionality for changing commands