ADDED a property for setting the flash mode