When the Ottomans demanded changes, Nicholas refused and prepared for war