Implementing smarter logic to update stat bar and moving dimensions
into StatsBar.java