Bug fix/update app bg

This should not be done in a `render` function.