added refresh function and make the buttons only clickable once. Added a little css.