I am running into an issue where a @State var that follows the index of tapped Views inside a ForEach doesn\'t work as int