r
added on-back-pressed handling for recorder