setting notification time and writing in to plist