Fix weird state behaviour on mount

Do set reset state.
Use more obvious backup restoring on inputs