added method to remove system preferences from database