Added some code in Options that may be used when preferences can use dialogfragments