Refactor: redefining functions inside Array prototype. Work to do: Cancel button behaviour, Provisionar button behaviour, Creating an own Array class?