Only change visibility after all other UI tasks are performed

Post a runnable to set visibility of the content view to prevent race
conditions.
Merge pull request #1 from jimmithy/master

Only change visibility after all other UI tasks are performed