reset fixed, duplicate code removed

all input fields reset, duplicate functions have been removed
Merge branch 'master' of https://github.com/krstlb/timewhale_framework