Fixing issue on take image flow under android 2.1