Navigation drawer

I was using K9mail with another project of mine, and while I was doing that I managed to add a navigation drawer to K9mail. Currently, I found three bugs in my implementation, when you long press one of the accounts, the "account" variable returns null in recreate data, making it so a dialog does not show. Additionally, clicking on a new email notification opens a blank message view. The reason this happens is because the BroadcastListener is broadcasted only when the message is received, and not when the notification is clicked. I don't know where the BroadcastListener is called so I don't know how to fix it. Lastly, the third error, which happens only when there is more then one account, is that when you click on one of the special accounts (unified inbox…), then it force closes as getStats returns null since context is not available. I had to use CommonWare's MergeAdapter library in order to make it work.

Here's some screenshots: https://drive.google.com/folderview?id=0BzHuKxRVmL4Fc0NPdGRxbUdTelE&usp=sharing