Fix reset values according to profile type and phonegap ready