Fixing reset button

resolves https://github.com/owncloud/templateeditor/issues/7