Now uses preferences to store custom settings