fix AdminController: replace deprecated setFlash method