[notifications] Set actions before sending the notification
Otherwise the notification is updated immediately after sending. While this should work in theory it smells fishy.
Otherwise the notification is updated immediately after sending. While this should work in theory it smells fishy.