Creating a custom preference for the storage setting.