adding preferences form