Added exception when activity not found