Move contact record creation in new function. New contact ui should be shown even when no params are passed