Add initial error handling, by resetting UI in instance of errors