Fixing bug with android fragments on smartphone version