moved label methods to topBar class