Tidied Systick and replaced bool references with App_Bool_Type