Apple ordered to change how it handles app store payments