Reset button added and settings funtionality.