This was achieved by using the pre-existing global settings object and adding functionality for saving and retrieving integer-based preferences.