altosui: Use helper functions to access arrays in AltosLib class