added button and array when buttom pushed