Changed minimum timer period

q
Added cheking max period