Reorganize notifications code and added vibration