Android launchmode="singleTask" does not work as expected

I have an application that runs in the background and displays an error message via the notifications system. This notification has a pendingIntent that leads back to the app's main screen. On this...