change button weapon type select. Code refactoring bug fix