Timer and countdown

i am looking to make in my app when i click a button a timer starts and then if (time reaches 10sec it pauses)or i repress the same button so it pauses and then when repressing it starts to countdown that same time .Is there an extension for that or i could use the clock component ?

just use the clock component