Updating TabPageIndicator: centering image
Cleaning up code