Fixed an issue where the current activity was not properly returned on kitkat.