Added a limit to number of possible boot options

Signed-off-by: DomanoSV <domano-sv@hotmail.com>