sample: fixes navigation and mailbox refresh issues