Fixes a problem where the activitymanager is not available in Seamonkey
So we do not ues it when not available.

Signed-off-by: Michel <info@1st-setup.nl>