Added android  pause support