refactor into useActivityIndicator and spinner properties