Fix bug of changing notepaper