Add preview while selecting options for code navigation
PEP8 fixes