Add app event for changing document title