Fetch selected case by getting string from view instead of by position (bug)