Removed the update stat button and added a timer to update state each 3 seconds