Shared Preference Settings Bug Fix.