Remove old code from flash button