Implemented save button, closes #20