Fix edit/alarm for mobile view