Refactored preferences option to make it more use-friendly