Swift UITableViewController subclass for selecting a value from an array