Adds button

Adds events for button click and text selection

Removes text selection event

Fixes button

Cleans up code

Fixes refresh issue