fixes adding multiple activities