adding if statement in addPlayer onItems selected swicth