Fix some issues with 'light and dark' theme.
Merge pull request #164 from maniac103/for-upstream

Fixes for Bugsense reports
Merge pull request #165 from maniac103/theme-fix

Fix some issues with 'light and dark' theme.
Don't allow bookmarking until repository is loaded.
Make sure to not crash if the AsyncTask finishes after tearing down the
fragment.
Fix NPE when clicking the avatar of a searched user.
Fix Bugsense reported NPE.