Android: Remove duplicate synchronized statement