Reset button addedand some changes made