feat: set flash duration