Making the predictionArray an instance variable of the ViewController so it available outside the scope of the buttonPressed action