Added priority to activities and badges