Add preference box for notifications, correct accelerometer time stamp