fix visibility of flash service methods
use Repository::save() instead of EntityManager::persist() and flush()