Cleans up code in ArticleListActivity and SplashActivity.