Made save and saveas button working.
Merge pull request #27 from hemant24/master

Made save and saveas button working.