Improve input box to filter torrent list

Done.

A question regarding the style. In this case (if with braces + single line else), do you prefer to use braces for the else or no you don't have any opinion? The style is not consistent throughout the code, so I couldn't figure this out.