fix deprecation warning in picker step definitions