IDEX-1666: improved rename action for new item
IDEX-1666: moved callback result cast to local variable
Merge pull request #387 from codenvy/IDEX-1666

IDEX-1666: improved rename action for new item