Fixed display bug when changing rapidly between fragments.
Also did 'format' on the whole mobileapp project.