Update src/application/session.cpp