Added timer and a back button control