Fixed case with push messages when no devices selected
Api update.