Player Rank not saving properly

This is to fix the issue #5.