standing and sitting state is properly returned to the app