bug fix for double click save behaviour.
Clean up.
Merge pull request #6 from RajShah94/save_fix

bug fix for double click save behaviour.