With activity:launchMode = standard, we get duplicated activities
depending on the task the app was started in. In order to avoid
stacking up of this duplicated activities we keep a count of this
root activity and let it finish if it already exists
Launching the app via the notification icon creates a new task,
and there doesn't seem to be a way around this so this is needed