Made it so when the preferences tab is not selected and the button is
pressed again, the tab is reslected.
Merge pull request #77 from zoccihedron/fix-preferenceButtonSelectingTab

R+