Correcting some bugs related with android 4.2.2