implemented saving user inputs in capture the moment feature