Added method to reset form