MOB-2462 version changed, fixed bug when app is paused

it's better to use valueOf(String)