Progress and Medal functionality
Fix progress and medal