Add save option to gui