Changed modify preference to delete preference. Supported.
Changed logic for default new preference name.
Basically completed functionalities. Need logout function.