Clearing text when switching to server mode