Android activity launch mode and deeplink issue

Well thanks to the tip by orelzion I managed to solve this issue:

I did create a new DeepLinkActivity which started the MainActivity (which i changhed the launch mode from "singleTask" to "singleTop") with the following flags:

Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK

All flags are needed in order to take care of a few issues that came up while trying to fix my problem.