declare Intent on top of InBed.java