Added rebuild method for projects menu.