disable main sharp list buttons if list is empty. this makes Junit
testing easier