Sum should be recalculated after inverting scores as sum is not the same anymore. Application crashes when adding new scores until it reaches level (which is between 0 and sum, where sum is greater then actual sum), because of "IndexOutOfBoundsException".
Sum should be recalculated after inverting scores as sum is not the same anymore. Application crashes when adding new scores until it reaches level (which is between 0 and sum, where sum is greater then actual sum), because of "IndexOutOfBoundsException".