corrected Activity search and fixed Ini write of DB URL