Apple working to fix iPhone alarm problem