implemented setStatusLabelOnline method