added select all function and keypress for all

fixed log(1) error on distmod