Fixed the percent calculation and display()