Navigation button and file download bugs

1. Fixed bug that messed up navigation buttons after suspend/resume.
2. Changed file download routine. Should fix any bugs, but I also think
there is some system caching that can affect this.