Simplify input_options function
Fixing Use Empty Path on directory settings
Merge pull request #1273 from jeapostrophe/master

Fixing iOS menu problems and cleaning code