added flash mode during recording