array add button does unshift instead of push