added the preference page and corrected the executable 

Issue#1