change name and disable spinner button if empty library