Update observer.php

implemented removeObserver