Fixed setText bug

setText was only affecting the first element