Added option to remember first library chosen by default.