Add button to save a permission as public or private. Closes #45