Added save button

There is now a save function that works with a button.