Modified the record/preview in android