fixed UX/UI bugs - resets data after submission