added listener for action button in troop training fragment