Fixed always saving notes bug