Refacto InputAction