User preferences write nb of days for notifications