Added on back press functions