Fix adding note and add back button to detail