Stuck on displayStringWithAlert function