Code improvement: LoadingView.java