Change buddyList.length to buddyList on loading initial list from localStorage