React Timer Note state attribute updated past= ranBefore Different States in the App How buttons change state