Added settings state to option pages

Added refresh functionality to tool pane