made decode password case insensitive
generate password when Matrix is opened or changed