ma non devi inizializzare l'array nell'evento onRelease ma bensì metterlo sul frame come già ti ha detto Broly